﻿@model  List<WebSite.Models.MenuItemVM> 

<nav class="cl-effect-1" style="margin-left:150px" id="cl-effect-1">
    <ul id="menu" class="menu-main-nav-container">
        @foreach (WebSite.Models.MenuItemVM item in Model)
        {
            <li>
                @{ 
                    String url = item.IsExternal ? item.ExternalLink : Url.Action(item.Action, item.Controller);
                }
                <a class="@(item.Selected ? "active" : "inactive")" href="@url">@item.Text</a>
            </li>
        }
    </ul>
</nav>